/* 付款单
 */

import { postRequest, getRequest } from '@/lib/axios';

export const paymentApi = {
  // 付款单列表
  queryPaymentList: (param) => {
    return getRequest('/payment_order/list', param);
  },
  // 付款单新增
  addPayment: (param) => {
    return postRequest('/payment_order/add', param);
  },
  // 付款单获取对账金额
  amountPayment: (param) => {
    return getRequest('/payment_order/amount', param);
  },
};
